part of 'page.dart';

abstract class _CollectionSelectionPageWlocState {}

class _DefaultState extends Equatable implements _CollectionSelectionPageWlocState {
  const _DefaultState({
    required this.collectionListItemModels,
    required this.collectionListItemCreationPermitted,
  });

  final BuiltList<_CollectionListItemModel> collectionListItemModels;
  final bool collectionListItemCreationPermitted;

  @override
  List<Object?> get props {
    return [
      collectionListItemModels,
      collectionListItemCreationPermitted,
    ];
  }
}

class _CollectionListItemReordering extends Equatable implements _CollectionSelectionPageWlocState {
  const _CollectionListItemReordering({
    required this.reorderedCollectionListItemModels,
  });

  final BuiltList<_CollectionListItemModel> reorderedCollectionListItemModels;

  @override
  List<Object?> get props {
    return [
      reorderedCollectionListItemModels,
    ];
  }
}

class _CollectionCreation extends Equatable implements _CollectionSelectionPageWlocState {
  const _CollectionCreation({
    required this.collectionListItemModels,
  });

  final BuiltList<_CollectionListItemModel> collectionListItemModels;

  @override
  List<Object?> get props {
    return [
      collectionListItemModels,
    ];
  }
}

class _CollectionFolderCreation extends Equatable implements _CollectionSelectionPageWlocState {
  const _CollectionFolderCreation({
    required this.collectionListItemModels,
  });

  final BuiltList<_CollectionListItemModel> collectionListItemModels;

  @override
  List<Object?> get props {
    return [
      collectionListItemModels,
    ];
  }
}
